package com.howie.parnote.jms.listener;

import com.howie.parnote.module.SharerModule;

import javax.jms.Message;

/**
 * <p>Title: parnote</p>
 * <p>
 * Description: parnote
 * </p>
 *
 * @author huangyan
 *         Created by HY on 2015/4/18 0018.
 * @version v1.0.0
 */
public class POJOListener {

	public void handleMessage(Message message) {
		System.out.println("ConsumerListener通过handleMessage接收到一个纯文本消息，消息内容是：" + message);
	}

	public void receiveMessage(SharerModule message) {
		System.out.println("ConsumerListener通过receiveMessage接收到一个纯文本消息，消息内容是：" + message);
	}
}
